<?php

namespace App\Polling\Middleware;


use Closure;

class PollTokenVerify
{

    /**
     * 判断header中是否传token以验证用户是否登录
     *
     * @param [type] $request
     * @param Closure $next
     * @return void
     */
    public function handle($request, Closure $next)
    {
        //echo 111;
            //$request->merge(['m_id' => $mid, 'is_admin' => 1, 'agent_type' => 0]);
        return $next($request);
    }
}
